package com.zmx.mq.task.business.entity;

import com.zmx.common.common.entitys.BaseEntity;
import lombok.Data;

import javax.persistence.*;

/**
 * @Description: 请求日志实体
 * @ClassName: RequestLog
 * @Author zhaomxr
 * @Date 2021-11-12 16:48
 */
@Data
@Entity
@Table(name = "request_log")
@Inheritance(strategy = InheritanceType.JOINED)
public class RequestLog extends BaseEntity {

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "user_name")
    private String userName;

    @Column(name = "token")
    private String token;
}
